#pragma once

#include "stdafx.h"
#include "message.h"

class CObject
{
public:
	CObject(){};
	virtual ~CObject(){};

	virtual void parseMessage(Message& msg, vector<Message>& retMsg) = 0;
};

typedef shared_ptr<CObject> PObject;
